<template>
	<view>
		<uni-pagination :total="total" :pageSize = 'pageSize' title="标题文字" 
		:current='1' prev-text="上一页" next-text="下一页" @change="change" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		props:['total','pageSize'],
		methods: {
			change(e){
				this.$emit('changePage',e)
				console.log(e)
			}
		}
	}
</script>

<style>

</style>
